const QRCode = require('qrcode');

module.exports = async (url) => {
  try {
    const link = await new QRCode.toDataURL(url);
    console.log(link, "[-link");
  } catch (error) {
    console.log(error);
  }
}